package com.right.near.common.utils;

/**
 * 雪花算法ID生成工具
 *
 * @author: star
 * @date: 2022-02-07
 */
public class IdUtil {

    private static SnowFlake snowFlake = new SnowFlake();

    public static long generateId() {
        return snowFlake.nextId();
    }

}
